import request from '@/utils/request'

// 查询三要素匹配结果列表
export function listElementResult(query) {
  return request({
    url: '/member/elementResult/list',
    method: 'get',
    params: query
  })
}

// 查询三要素匹配结果详细
export function getElementResult(id) {
  return request({
    url: '/member/elementResult/' + id,
    method: 'get'
  })
}

// 新增三要素匹配结果
export function addElementResult(data) {
  return request({
    url: '/member/elementResult',
    method: 'post',
    data: data
  })
}

// 修改三要素匹配结果
export function updateElementResult(data) {
  return request({
    url: '/member/elementResult',
    method: 'put',
    data: data
  })
}

// 删除三要素匹配结果
export function delElementResult(id) {
  return request({
    url: '/member/elementResult/' + id,
    method: 'delete'
  })
}
